//购物车列表
import cartList from "../../api/cartList/cartApi"


const cartlist=()=>dispatch=>{
    cartList().then(res=>{
        console.log(res)
        dispatch({
            type:"CART_LIST",
            payload:res.data.data
        })
        
    })
}
export default cartlist